$(function(){ 
   $("#drugDelete").click(function(){
        var str = "" ;
        $("[name=delid]:checkbox:checked").each(function(){
            str += $(this).val() + "|" ;
        });
       
        $.ajax({
            type: "POST",
			url: "drugManageAction!drugInStorageDelete.do",
			data:"drug_Ids="+str,
			dataType: 'text',
			async: false,
			error:function(data){
				
			},
			success: function(data){
			           
            }										
	
        });
    });
});